# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ContactPerson(object):

    def __init__(self, id=None, pin=None, userName=None, email=None, mobile=None, emailValid=None, isMain=None, created=None, modified=None, yn=None, isSelf=None):
        """
        :param id: (Optional) 用户id
        :param pin: (Optional) 用户pin(创建人)
        :param userName: (Optional) 用户名
        :param email: (Optional) 邮箱
        :param mobile: (Optional) 手机号
        :param emailValid: (Optional) 用户邮箱有效
        :param isMain: (Optional) 是否为主联系人
        :param created: (Optional) 创建时间
        :param modified: (Optional) 修改时间
        :param yn: (Optional) 是否正常：0表示删除，1表示正常
        :param isSelf: (Optional) 1:账号联系人;2:非账号联系人
        """

        self.id = id
        self.pin = pin
        self.userName = userName
        self.email = email
        self.mobile = mobile
        self.emailValid = emailValid
        self.isMain = isMain
        self.created = created
        self.modified = modified
        self.yn = yn
        self.isSelf = isSelf
